package cn.huihui.miniprogram.stuman.database.mapper;

import cn.huihui.miniprogram.stuman.database.model.Attendance;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AttendanceMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Attendance record);

    Attendance selectByPrimaryKey(Integer id);

    List<Attendance> selectAll();

    int updateByPrimaryKey(Attendance record);

    List<Attendance> selectByStudentId(String studentId);}